 package com.lj.mcore.entity;

 import com.lj.mcore.domain.IdEntity;
 import jakarta.persistence.*;


 @Entity
 @Table(name="shopping_partner")
 public class Partner extends IdEntity
 {
   private int sequence;
   private String url;
   private String title;
 
   @OneToOne(fetch=FetchType.LAZY)
   private Accessory image;
 
   public int getSequence()
   {
     return this.sequence;
   }
 
   public void setSequence(int sequence) {
     this.sequence = sequence;
   }
 
   public String getUrl() {
     return this.url;
   }
 
   public void setUrl(String url) {
     this.url = url;
   }
 
   public String getTitle() {
     return this.title;
   }
 
   public void setTitle(String title) {
     this.title = title;
   }
 
   public Accessory getImage() {
     return this.image;
   }
 
   public void setImage(Accessory image) {
     this.image = image;
   }
 }



 
 